package com.ssm.spring.controller;

import com.ssm.spring.pojo.User;
import com.ssm.spring.service.UserService;
import com.ssm.spring.service.impl.UserServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * Author  zxy
 * Date  2022/11/11 上午 8:44
 */
public class UserController {

    private UserService userService;

    public UserService getUserService() {
        return userService;
    }

    public void setUserService(UserService userService) {
        this.userService = userService;
    }

    public void saveUser(){
        userService.saveUser();
    }

}
